import {getLoginPostageList} from "../../../service/shop";

Component({
    properties: {
        value:{
            type:[Object,String,Number,null], value:'',
            observer(data){

            }
        },
    },
    data: {
        options:[],
    },
    lifetimes:{
        attached() {

            getLoginPostageList().then(r => {
                this.setData({
                    options:r
                })
            })
        }
    },
    methods: {
        onChange(e){
            this.triggerEvent("change", e.detail)
        },
    }
});
